package com.kehutong.common.enums;

import org.coraframework.util.HashID;

public enum OperateType implements HashID {
    UPDATE_DATA("0", "修改资料"),
    SET_STATUS("1", "设置资料"),
    PAYMENT_FINISH("2", "缴费完成"),
    COMMENT_WORK_ORDER("3", "评论工单"),
    INITIATE_REPAIR("4", "发起报修"),
    INITIATE_COMPLAINT("5", "发起投诉"),
    ADD_RESIDENT("6", "新增住户"),
    ADD_SHOP_USER("7", "新增商户"),
    ADD_PARKING_USER("8", "新增车户")
    ;

    private final String id;
    private final String desc ;

    private OperateType(String id, String desc) {
        this.id = id;
        this.desc = desc ;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
